<div class="layui-header header header-demo">
    <div class="layui-main">
        <a class="logo" href="javascript:location.reload();" style="color:#fff;font-size: 20px;left:0px;">
            <{$config['title']}>
        </a>
        <ul class="layui-nav">
            <li class="layui-nav-item">
                <a href="javascript:void(0);"><{:session('admin.username')}></a>
                <dl class="layui-nav-child">
                    <dd><a href="<{:U('Admin/Login/doLogout')}>">退出</a></dd>
                </dl>
            </li>
        </ul>
    </div>
</div>